import type { RouteRecordRaw } from 'vue-router'
import LoginView from '../views/auth/LoginView.vue'
import RegisterView from '../views/auth/RegisterView.vue'
import ResetView from '@/views/auth/ResetView.vue'
// 认证相关的路由配置
export const authRoutes: RouteRecordRaw[] = [
  {
    path: '/login',
    name: 'login',
    component: LoginView,
    meta: {
      title: '登录',
      requiresAuth: false
    }
  },
  {
    path: '/register',
    name: 'register',
    component: RegisterView,
    meta: {
      title: '注册',
      requiresAuth: false
    }
  },
  {
    path: '/reset',
    name: 'reset',
    component: ResetView,
    meta: {
      title: '重置密码',
      requiresAuth: false
    }
  }
]